package demo06;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Test01 {
	public static void main(String[] args) {
		 List<String> features = Arrays.asList("Lambdas", "Default Method", "Stream API", "Stream API", "Date and Time API");
	        ArrayList<String> list = new ArrayList<String>();
	        for (String strs : features) {
	            String s="";
	            char[] cs2 = strs.toCharArray();
	            for (int i = 0; i < cs2.length; i++) {
	                cs2[i] = Character.toUpperCase(cs2[i]);
	                s+=String.valueOf(cs2[i]);
	            }
	            list.add(s);
	        }
	        for (String str:list) {
	            System.out.println(str);
	        }
	    }
}
